<?php
/**
 * Date: 2024.8
 * Author: kahn
 * 订单配置
 */
namespace config;

class Order
{

    //订单状态
    const ORDER_STATUS_CREATE = 1;
    const ORDER_STATUS_PAYING = 2;
    const ORDER_STATUS_PAID = 3;
    const ORDER_STATUS_CANCELLED = 4;
    const ORDER_STATUS_REFUNDING = 5;
    const ORDER_STATUS_REFUNDED = 6;

    //订单删除
    const ORDER_DELETED_NO = 0;
    const ORDER_DELETED_YES = 1;

    //支付方式
    const ORDER_PAYMENT_ALIPAY = 1;
    const ORDER_PAYMENT_WXPAY = 2;
    const ORDER_PAYMENT_IAP = 3;

    //支付产品
    const PAY_WAY_APP = 1;
    const PAY_WAY_WAP = 2;
    CONST PAY_WAY_WEB = 3;
    CONST PAY_WAY_MICRO = 4;
    CONST PAY_WAY_PUBLIC = 5;

}